[HEADER]
  .bits 32
  .end
  
[VARS]
  *NULL 0
  .end

[CODE]
  .__entry:
    loadi %a0 1
	
	push0x03 %a0
	int 0x03 ! This is the ringmode interrupt
	pop0x03 %s0
	
	loadi %i0 -1
	
	cmp %s0 %i0
	  loadd %a0 "Failed to change ring mode"
	  
	  call vm_7614t
	  
	  mov %a0 %s0
	  call vm_7614t
	  
	  _sl_
	    print "Failed to change ring mode\n";
	  _end_
	scmp
	cmpf
	  loadd %a0 "In ring mode 1!";
	  
	  call vm_7614t
	  
	  mov %a0 %s0
	  
	  call vm_7614t
	  
	  _sl_
	    print "In ring mode 1\n";
	  _end_
	scmp
	
	int 0x00
	
	.stop
  .end